package main

import (
	"fmt"
	_ "westarry/gin-fox/app/admin/controller"
	_ "westarry/gin-fox/app/api/controller"
	_ "westarry/gin-fox/app/home/controller"
	. "westarry/gin-fox/gin-fox"
	"westarry/gin-fox/gin-fox/router"
)

func main() {
	r := router.InitR()
	fmt.Print("[ginfox]自动注册完毕,开始启动\n")
	r.Run(Gc.C.Ginfox.Server.Port)
}
